package socket

import (
	"card/app/framework/common"
	"card/app/framework/proto"
)

func NewGame(gameType string, baseScore int) common.Igame {
	switch gameType {
	case "lord":
		return NewLordGame(proto.PlayerNumbers[gameType], baseScore, proto.GameList[gameType])
	default:
		return nil
	}
}
